package com.csy.property.community.domain;

import com.csy.commons.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Arrays;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AjRoom extends BaseEntity {

    private static final long serialVersionUID = 8936822298828531653L;

    /*房间id
    * */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long roomId;

    /*小区id
     * */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long communityId;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long communityAreaId;
    /*楼栋id
     * */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long buildingId;

    /*单元id
     * */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long unitId;

    /*楼层id
     * */
    private Long roomLevel;

    /*房间编号
     * */
    private String roomCode;

    /*房间名称
     * */
    private Integer roomName;

    /*房间建筑面积
     * */
    private String roomAcreage;

    /*算费系数
     * */
    private String roomCost;

    /*房间状态
     * */
    private String roomStatus;

    /*是否商铺
     * */
    private String roomIsShop;

    /*是否商品房
     * */
    private String roomSCommercialHouse;

    /*房间户型
     * */
    private String roomHouseType;

    /** 单元组 */
    private Long[] unitIds;

    /** 楼栋组 */
    private Long[] buildingIds;


}
